<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><?php echo CHtml::encode($this->pageTitle); ?></title>
    <link rel="stylesheet" type="text/css" href="<?php echo $this->staticsPath ?>/css/login.css" />
<style type="text/css">
    .loginform .log-lab {
        display: inline;
    }
</style>
</head>
<body>
<?php
   Yii::app()->clientScript->registerCss('message',"
       .errorMessage {
        color: #FF0000;
        font: 12px \"microsoft yahei\";
        display: inline;
        }
        .login-input-user {
        margin-top:11px;
        }
        .login-input-pass {
        margin-top:11px;
        }
        .wd {
        color: #FFFFFF;
        font: bold 35px/40px \"Impact\";
        letter-spacing: 0.05em;
        text-shadow: 0 1px 3px #666666;
        }
        .wd span {
         color: #1ABC9C;
        }
   ", 'screen',CClientScript::POS_HEAD);
?>
<div class="loginform">
    <div class="title wd" > <span>DODO</span>后台管理</div>
    <div class="body">
        <?php $form = $this->beginWidget('CActiveForm', array(
                'id'=>'login-form',
                'enableAjaxValidation'=>true,
                'clientOptions'=>array(
                    'validateOnSubmit'=>true,
                ),
            )
        ); ?>
        <?php echo $form->label($user_login,'username',array('class'=>'log-lab')); ?>
            <?php echo $form->error($user_login,'username'); ?>
            <?php echo $form->textField($user_login,'username',array('class'=>'login-input-user')); ?>
        <?php echo $form->label($user_login,'password',array('class'=>'log-lab')); ?>
            <?php echo $form->error($user_login,'password'); ?>
            <?php echo $form->passwordField($user_login,'password',array('class'=>'login-input-pass')); ?>
            <input type="submit" class="button"  name="send"   value="登&nbsp;&nbsp;录"/>
        <?php $this->endWidget(); ?>
    </div>
</div>
</body>
</html>



